import Layout from '@/layout'

// 云仓管理路由
export const storageRoutes = [
    {
      path: '/storage',
      component: Layout,
      children: [
        //入仓
        {
          path: 'commonGoods/warehouseIn/sceneWarehouseIn',
          component: () => import('@/views/storage/commonGoods/warehouseIn/sceneWarehouseIn'),
          name: 'SceneWarehouseIn',
          meta: { title: '入仓办单', noCache: false}
        },
        {
          path: 'commonGoods/warehouseIn/warehouseInDetail',
          component: () => import('@/views/storage/commonGoods/warehouseIn/warehouseInDetail'),
          name: 'WarehouseInDetail',
          meta: { title: '入仓详情', noCache: false }
        },
        {
          path: 'commonGoods/warehouseIn/sceneWarehouseInAdd',
          component: () => import('@/views/storage/commonGoods/warehouseIn/sceneWarehouseInAdd'),
          name: 'SceneWarehouseInAdd',
          meta: { title: '新增货物', noCache: false }
        },
        {
          path: 'commonGoods/warehouseIn/warehouseInPrint',
          component: () => import('@/views/storage/commonGoods/warehouseIn/warehouseInPrint'),
          name: 'WarehouseInPrint',
          meta: { title: '入仓打印', noCache: false }
        },
        //出仓
        {
          path: 'commonGoods/warehouseOut/sceneWarehouseOut',
          component: () => import('@/views/storage/commonGoods/warehouseOut/sceneWarehouseOut'),
          name: 'SceneWarehouseOut',
          meta: { title: '出仓办单', noCache: false }
        },
        {
          path: 'commonGoods/warehouseOut/warehouseOutDetail',
          component: () => import('@/views/storage/commonGoods/warehouseOut/warehouseOutDetail'),
          name: 'WarehouseOutDetail',
          meta: { title: '出仓详情', noCache: false }
        },
        {
          path: 'commonGoods/warehouseOut/sceneWarehouseOutAdd',
          component: () => import('@/views/storage/commonGoods/warehouseOut/sceneWarehouseOutAdd'),
          name: 'SceneWarehouseOutAdd',
          meta: { title: '新增出仓', noCache: false }
        },
        {
          path: 'commonGoods/warehouseOut/warehouseOutPrint',
          component: () => import('@/views/storage/commonGoods/warehouseOut/warehouseOutPrint'),
          name: 'WarehouseOutPrint',
          meta: { title: '出仓打印', noCache: false }
        },
        //调仓
        {
          path: 'commonGoods/warehouseMove/warehouseMoveDetail',
          component: () => import('@/views/storage/commonGoods/warehouseMove/warehouseMoveDetail'),
          name: 'WarehouseMoveDetail',
          meta: { title: '调仓详情', noCache: false }
        },
        {
          path: 'commonGoods/warehouseMove/warehouseInnerMove',
          component: () => import('@/views/storage/commonGoods/warehouseMove/warehouseInnerMove'),
          name: 'WarehouseInnerMove',
          meta: { title: '新增库内调仓', noCache: false }
        },
        //货权转移
        {
          path: 'commonGoods/warehouseProperty/warehousePropertyMove',
          component: () => import('@/views/storage/commonGoods/warehouseProperty/warehousePropertyMove'),
          name: 'WarehousePropertyMove',
          meta: { title: '货权转移单', noCache: false }
        },
        {
          path: 'commonGoods/warehouseProperty/warehousePropertyDetail',
          component: () => import('@/views/storage/commonGoods/warehouseProperty/warehousePropertyDetail'),
          name: 'WarehousePropertyDetail',
          meta: { title: '货权转移详情', noCache: false }
        },
        {
          path: 'commonGoods/warehouseProperty/warehousePropertyPrint',
          component: () => import('@/views/storage/commonGoods/warehouseProperty/warehousePropertyPrint'),
          name: 'WarehousePropertyPrint',
          meta: { title: '货权转移打印', noCache: false }
        },
        //增值服务
        {
          path: 'commonGoods/increServiceFee/increServiceFeeAdd',
          component: () => import('@/views/storage/commonGoods/increServiceFee/increServiceFeeAdd'),
          name: 'IncreServiceFeeAdd',
          meta: { title: '新增费用单', noCache: false }
        },
        {
          path: 'commonGoods/increServiceFee/increServiceFeeDetail',
          component: () => import('@/views/storage/commonGoods/increServiceFee/increServiceFeeDetail'),
          name: 'IncreServiceFeeDetail',
          meta: { title: '增值收费详情', noCache: false }
        },
        //货物担保
        {
          path: 'guarantee/guaranteeGoodsDetails',
          component: () => import('@/views/storage/guarantee/guaranteeGoodsDetails'),
          name: 'GuaranteeGoodsDetails',
          meta: { title: '货物担保详情', noCache: false }
        },
        //数据总览
        {
          path: 'dataOverview/goodsOverview/goodsOverviewHistoryDetail',
          component: () => import('@/views/storage/dataOverview/goodsOverview/goodsOverviewHistoryDetail'),
          name: 'GoodsOverviewHistoryDetail',
          meta: { title: '货物总览历史', noCache: false }
        },
        {
          path: 'dataOverview/settlementStatement/settlementStatementDetail',
          component: () => import('@/views/storage/dataOverview/settlementStatement/settlementStatementDetail'),
          name: 'SettlementStatementDetail',
          meta: { title: '结算对账单详情', noCache: false }
        },
        {
          path: 'dataOverview/costOverview/warehouseInDetailList',
          component: () => import('@/views/storage/dataOverview/costOverview/warehouseInDetailList'),
          name: 'WarehouseInDetailList',
          meta: { title: '入仓明细', noCache: false }
        },
        {
          path: 'dataOverview/costOverview/warehouseOutDetailList',
          component: () => import('@/views/storage/dataOverview/costOverview/warehouseOutDetailList'),
          name: 'WarehouseOutDetailList',
          meta: { title: '费用总览出仓明细', noCache: false }
        },
        {
          path: 'dataOverview/costOverview/warehousePropertyDetailList',
          component: () => import('@/views/storage/dataOverview/costOverview/warehousePropertyDetailList'),
          name: 'WarehousePropertyDetailList',
          meta: { title: '费用总览增值服务明细', noCache: false }
        },
        //数据分析
        {
          path: 'dataAnalysis/warehouseOperation/warehouseOperationDetail',
          component: () => import('@/views/storage/dataAnalysis/warehouseOperation/warehouseOperationDetail'),
          name: 'WarehouseOperationDetail',
          meta: { title: '仓库作业量按日详情', noCache: false }
        },
        {
          path: 'dataAnalysis/historyAssignment/historyAssignmentDetail',
          component: () => import('@/views/storage/dataAnalysis/historyAssignment/historyAssignmentDetail'),
          name: 'HistoryAssignmentDetail',
          meta: { title: '历史作业量详情', noCache: false }
        },
        {
          path: 'dataAnalysis/customerCategory/customerCategoryDays',
          component: () => import('@/views/storage/dataAnalysis/customerCategory/customerCategoryDays'),
          name: 'CustomerCategoryDays',
          meta: { title: '按日区分', noCache: false }
        },
        {
          path: 'dataAnalysis/customerCategory/customerCategoryLeftGoods',
          component: () => import('@/views/storage/dataAnalysis/customerCategory/customerCategoryLeftGoods'),
          name: 'CustomerCategoryLeftGoods',
          meta: { title: '剩余货物', noCache: false }
        },
        {
          path: 'dataAnalysis/customerCategory/customerCategoryWarehouse',
          component: () => import('@/views/storage/dataAnalysis/customerCategory/customerCategoryWarehouse'),
          name: 'CustomerCategoryWarehouse',
          meta: { title: '按仓区分', noCache: false }
        },
        {
          path: 'dataAnalysis/highAgeGoods/highAgeLeftGoods',
          component: () => import('@/views/storage/dataAnalysis/highAgeGoods/highAgeLeftGoods'),
          name: 'HighAgeLeftGoods',
          meta: { title: '高龄列表剩余货物', noCache: false }
        },
        {
          path: 'dataAnalysis/highAgeGoods/highAgeWarehouse',
          component: () => import('@/views/storage/dataAnalysis/highAgeGoods/highAgeWarehouse'),
          name: 'HighAgeWarehouse',
          meta: { title: '高龄列表按仓区分', noCache: false }
        },
        {
          path: 'dataAnalysis/warehouseCategory/warehouseCategoryDetail',
          component: () => import('@/views/storage/dataAnalysis/warehouseCategory/warehouseCategoryDetail'),
          name: 'WarehouseCategoryDetail',
          meta: { title: '库存品种分类仓储情况', noCache: false }
        },
        //仓库整租
        {
          path: 'warehouseLease/warehouseLeaseOperation/warehouseLeaseOperationDetail',
          component: () => import('@/views/storage/warehouseLease/warehouseLeaseOperation/warehouseLeaseOperationDetail'),
          name: 'WarehouseLeaseOperationDetail',
          meta: { title: '整租操作详情', noCache: false }
        },
        {
          path: 'warehouseLease/warehouseLeaseOperation/warehouseLeaseOperationAdd',
          component: () => import('@/views/storage/warehouseLease/warehouseLeaseOperation/warehouseLeaseOperationAdd'),
          name: 'WarehouseLeaseOperationAdd',
          meta: { title: '整租操作详情', noCache: false }
        },
        {
          path: 'memberManageCilent/memberManageCilentEdit',
          component: () => import('@/views/storage/memberManageCilent/memberManageCilentEdit'),
          name: 'MemberManageCilentEdit',
          meta: { title: '会员管理客户编辑', noCache: false }
        },
        //合同收费标准
        {
          path: 'contractFeeStandard/contractDetail',
          component: () => import('@/views/storage/contractFeeStandard/contractDetail'),
          name: 'ContractDetail',
          meta: { title: '合同收费标准详情', noCache: false }
        },
        {
          path: 'contractFeeStandard/contractDetailList',
          component: () => import('@/views/storage/contractFeeStandard/contractDetailList'),
          name: 'ContractDetailList',
          meta: { title: '合同详情', noCache: false }
        },
        //仓储设置
        {
          path: 'storageSetting/zdspcw/index',
          component: () => import('@/views/storage/storageSetting/zdspcw/index'),
          name: 'Zdspcw',
          meta: { title: '仓位', noCache: false}
        },
        {
          path: 'storageSetting/zdspck/stock',
          component: () => import('@/views/storage/storageSetting/zdspck/stock'),
          name: 'Stock',
          meta: { title: '库存', noCache: false}
        },
      ]
    },
  ]